ath10k-ct: remove outdated iommu revert patch
authorShiji Yang <[email protected]>
Mon, 8 Dec 2025 11:11:39 +0000 (19:11 +0800)
committerChristian Marangi <[email protected]>
Mon, 8 Dec 2025 17:47:45 +0000 (18:47 +0100)
The issue described in the patch can not be reproduced in the latest
6.18 ath10k-ct driver. It should have been fixed by the upstream.

Signed-off-by: Shiji Yang <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/21089
Signed-off-by: Christian Marangi <[email protected]>
package/kernel/ath10k-ct/patches/004-Revert-wifi-ath10k-Use-iommu_paging_domain_alloc.patch [deleted file]

diff --git a/package/kernel/ath10k-ct/patches/004-Revert-wifi-ath10k-Use-iommu_paging_domain_alloc.patch b/package/kernel/ath10k-ct/patches/004-Revert-wifi-ath10k-Use-iommu_paging_domain_alloc.patch
deleted file mode 100644 (file)
index 5940fd7..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-From: Shiji Yang <[email protected]>
-Date: Fri, 28 Mar 2025 19:56:06 +0800
-Subject: [PATCH] Revert "wifi: ath10k: Use iommu_paging_domain_alloc()"
-
-IPQ4019 wireless can't start after upstream commit d5b7485588df[1].
-
-[1] https://github.com/torvalds/linux/commit/d5b7485588dffb39c5687e965623124ab7ebcd51
-Signed-off-by: Shiji Yang <[email protected]>
----
- ath10k-6.18/snoc.c | 6 +++---
- 1 file changed, 3 insertions(+), 3 deletions(-)
-
---- a/ath10k-6.18/snoc.c
-+++ b/ath10k-6.18/snoc.c
-@@ -1630,10 +1630,10 @@ static int ath10k_fw_init(struct ath10k
-       ar_snoc->fw.dev = &pdev->dev;
--      iommu_dom = iommu_paging_domain_alloc(ar_snoc->fw.dev);
--      if (IS_ERR(iommu_dom)) {
-+      iommu_dom = iommu_domain_alloc(&platform_bus_type);
-+      if (!iommu_dom) {
-               ath10k_err(ar, "failed to allocate iommu domain\n");
--              ret = PTR_ERR(iommu_dom);
-+              ret = -ENOMEM;
-               goto err_unregister;
-       }